SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0363cefb2f9d05537bc522ca30799fdbaaa1a54ae1271bb20c9b178cf898351b' 
  AND token = 'r3dzVh3kIzDIp/P0jYI1BmSNxf3nGH9pTC25ONF2lA4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00072

JSON explain

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