SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a9b2135cbe9c074a277bb2e0d3b92fe02034ef091ae27b7604505817922445fc' 
  AND token = 'ptZ8JJyTTy+pjfkcTez/b7UB/8ANUJ1Q8DgODwgBuko=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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