SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '120561764c819b08057f6d0e84873bfcc5af32162bbb527601c71650c25338ce' 
  AND token = 'e/enNMDaeZ7aksCCu70JF+0h/lYd4KhHh2Hox+iRURw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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