SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0cffea9f8af72cf8957f3508e9a0e8fba51f2d13e317022b834b373ddd3656a1' 
  AND token = 'k5LrmI5MVkwq/W9CAo0prdN3i4maqzdTQk7gTPxWZ5s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}