SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '978edba7b91a13868333ae23e0cd3e6bc2bb6f5332ef682156a506c10c8baa8b' 
  AND token = '8YC4kBw5Rb8uH/EUlkKvhTnwORK2hNTMKHu+6R6KNGo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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