SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0d1162675328a1ef302064e2fe6bd5b4d7c7374787bb0c7edf0f30c12982fa5a' 
  AND token = 'wE2h+p1bWHBWft+rqmk/9Ltqp2ZTxnKHMuKiZ1BooHI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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