SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '161f2681269135f5882019950c7c59ecbe96e62df16e5f651eae21bc5fd2e512' 
  AND token = '7khWnilGp5WKQcR4izqL83rzsUrKeCF/0fwH2RKwcqE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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