SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a74131fa4a5eb29554f8579d59742aa8f1169d21c33a2ae25379c96d3b8ea14f' 
  AND token = 'fpzdF7hWipjV6qkFDa6s7BheapIrSNDOrw0IfTWqMYM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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