SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'edfeac009d0db4231548aa5e49234b27d5b8f20cbfcd501f708ba1acc1a94502' 
  AND token = 'xaM3lNFBsGiP9LSzatmMpV0dDC61NPuqKVAWgPnbb+I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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