SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4977ac310c9315045743fd935509c87f9aef5d1d9d67b43e92b4cea3f77296cc' 
  AND token = '9H5qOSdF4TboS17CcTNkntKrhRK7amxQry5X0W7/UAo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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