SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c9e1858c753ca26d3b8fa21ca190385b86a5c77ab1e3b146f8c877c3d7de9cb4' 
  AND token = 'YcsNtyt9cqZDJK75P8/g0oD8JLu1eLzjJ2Q2cKXZOmQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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