SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '674937bb77dcc899320600a08639a081c6288167df4577b25b8800f8470f2bfd' 
  AND token = 'kgiLR2iMlANzosOMyL/y6pgi1ISQcUOgmEJx+ZRZKM4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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