SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2ab738b0e9877b8cf042726f20cb1c2f0707d730cd8e69c899b534249c3fadb2' 
  AND token = 'JBxIVN66XH+1UH46eqbZ7pN2TUg36I7MGDsF1ys8+z0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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