SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8be2f503d0b2f575ca51d345c821230c3c2115e288e9006e4c6d6a2f6628fe4f' 
  AND token = 'RvIdoZV01wLlZ0/vOQ0AZLrJuGL+WMPjaDXO0zmdRVQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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