SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c988a87a08b0440a0c31a22ba4244539382dab693eb2d9c928f0c88fbb09f422' 
  AND token = '8f61UIupZVQ+5/H1qxcyhOfSbqF3PtViSdMH4E5Z9W8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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