SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a8a5739859317b7081f0dbe8674ea7b78a5e37fd75ef6591e62febae34172632' 
  AND token = 'g4NGan/IHeJPT/YA4j4IQ/lv0AkIPQ3uuA5BTTd5dXE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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