SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ba1bd20bb99197eb1617106c55f7d170b49ac9a68f5f1eb8c811847850f3807d' 
  AND token = 'M5Z1xQoSOBbn6vGbTTrYczm3kdkGdMqQDgPMjKVUuJc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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