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

Query time 0.00027

JSON explain

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