SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f1e4f74ac6e031674d6490e3d9a5fc7e2316352477333b0e9c84833ec68aa40b' 
  AND token = '7uU4Xe/+vGMFVoh/s0Aye9Yjfi7Be66LhV1I6Vz5J1E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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