SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5152e432283d063b8eef42b0f1d27c213275d56cd618238c25d1f126e9d3eac3' 
  AND token = 'gkx6n6l3msseKGSo9/mz8noQyLCieper7SPJNV4lc/k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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