SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ef09a8cb462d17427815657ad58b8f142e508eba47b0c62c456c122af855c759' 
  AND token = '0qYFiR1SZYZ0Eu/GcP5OmoNae1Nd0dxD/HAKQmsnJuc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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