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

Query time 0.00019

JSON explain

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