SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2766e74571eed3658f413a3b4506ac9da987492cc98b5e6dec74906445c6c611' 
  AND token = 'xriihB2AJsRhbwV9+6vl2DuJjFV1fsBBXI8EDGr160g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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