SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '56a336274f06d6a9ecd58a786f4aaec912dd63344b101d870e4baf67228f4d42' 
  AND token = 'bImsgfL7PNHgsClSaem1Senskob2O8Iy/eR/FzhEyxI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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