SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a5ed0d1df0e4161e398addc48bcb628d682e7c8541356faf6e941e531bb7cfb0' 
  AND token = 'MsRRdzbm2KzkEbmS66d3maLEfSbsDfl7BSc+fLQgLYc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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