SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1ff04065e111407f5f05529c58c5e51ebefd231f5e0cc4303897f98d5e47a79b' 
  AND token = '8MajjNfFccUMgxcT5IITGY55/s1bmRwLwqclG3PqHAQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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