SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '538b6ea30b447b2324bcdafc4f92fc11d2a83196b6b9694c410968a48e63b4f1' 
  AND token = 'x/Hq+Uq71SU2oac/eILOm62ZsuuzsVnWrjSQ9Lnczd8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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