SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fce505d771b01a2dbbc8f479589d07893d8ea642fcfe658ab1dcda836b9145a0' 
  AND token = 'XqDpCuUPWb7oCakM43bcRD8+yy8iUVylDpx3w8jj4T0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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