SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd1d6a81c1970586003ada04668ba40856c5bc1b1a4c1ddccdbec9fcc9c5a65c4' 
  AND token = 'YxIBH8+BX/qWTGmNsJsz9/rJ3Dp20Gxtxe+ktgnh3Bo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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