SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ff398d328b67e713490af8c453ec4727ebd1db22a2996444d26a9145007dfecc' 
  AND token = '05pWUGlb6plBILiG79LEemiDpzOOrTiNVudUiJ96Wv8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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