SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '796b07c211dfe2c46ffaee13e73c315471e6cdbba98869a464b6a7d9b5e314cc' 
  AND token = 'CXWvUpQcLgmPx1SZ/i1dSrmYfx5mfoNEtl0bnIl3yL0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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