SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0507e829020290b5a0495bd65225e2924a89ac61194f5478846d07b01615d0f0' 
  AND token = 'hASdQmZzg7tVmKjpaHdlLR8An0hLpSWEJJMONp7EMjc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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