SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a562bac0be1a7ce17b2bd03bc363912282b41bc93d5b9027a13e949cf6b7b1a7' 
  AND token = 'x4hFDxQdNkvfQ/9G0tZbDfCggGsHi4sFdocKccphrVI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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