SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a901232518b1619363824d950a1a0f9165f3e19484456d352beb8123611ad2d4' 
  AND token = 'NaIBWcpiCluwS5LkZl0mWFq6vs/H1otm8DGpBPNO2l4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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