SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '21aeb241385670707e1899b769430a9cf0281e8d550a63355bc767002ce915e5' 
  AND token = 'DEfLJ/AakgWIeE4b9a5tssTeFJdArKfNshL91ykn14s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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